package com.haizhi.workstation.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Constants {
    public static final String REQUEST_COUNT_KEY="requestCountKey";//存储在redis中请求数量的key
    public static final int REQUEST_COUNT=10;//能同时处理的最大请求数量

    public static final String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiO/U5QZdyzg1Gvf0RXOzNiZf+p9x3CVriW2QZ+aMh2DMrDfvePcfZSVT+X/6JQeVUBKgvFGntZtxhA7HaCZJHMPp13MXn0b1gma6oKJz9FLVwSxrDyOFBrHwfYBs5GXaCOuh+5lVFN2ap/75HB8g0FzAmiYEzDme/ca4aebo/6v4TGhyj2KY9lbfjDM2MNegj2G3hcHW98qo2DmibfbYQu2c6TgKwqQSxYA2AR68BgTewYfOz4i+IcLdQ1Sm9PexVUKee5SMXiGYuDb7tNziQs+uPVA6i3yexNFwB1lAwbBnD7HEZP7s6uBKvZ2G7YSmyqRKKxWZJHbtsAXAhq3KnQIDAQAB";
    public static final String PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCI79TlBl3LODUa9/RFc7M2Jl/6n3HcJWuJbZBn5oyHYMysN+949x9lJVP5f/olB5VQEqC8Uae1m3GEDsdoJkkcw+nXcxefRvWCZrqgonP0UtXBLGsPI4UGsfB9gGzkZdoI66H7mVUU3Zqn/vkcHyDQXMCaJgTMOZ79xrhp5uj/q/hMaHKPYpj2Vt+MMzYw16CPYbeFwdb3yqjYOaJt9thC7ZzpOArCpBLFgDYBHrwGBN7Bh87PiL4hwt1DVKb097FVQp57lIxeIZi4Nvu03OJCz649UDqLfJ7E0XAHWUDBsGcPscRk/uzq4Eq9nYbthKbKpEorFZkkdu2wBcCGrcqdAgMBAAECggEACGseHnpWt9Cbyy2lMcPcJ58SVXkJ6evPAaLfttOAni4ARzIlIb2ni3NRB0yr1yzxK/wJL6qhcdO9lc3GyotYAVG2BY3I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2YyQ5omUPDUTHkFsV5mJPvQeT23+CElrOCTBoG3m7+zKly8h7y4h8=";
    @Value("${public.send}")
    public String PUBLIC_SEND_FOLDER;//send文件夹
    @Value("${public.sendBak}")
    public String PUBLIC_SEND_FOLDER_BACKUPS;//send的备份文件夹


    @Value("${public.receive}")
    public String PUBLIC_RECEIVE_FOLDER;//receive文件夹

    @Value("${public.receiveBak}")
    public String PUBLIC_RECEIVE_FOLDER_BACKUPS;//receive的备份文件夹

}
